<!DOCTYPE html>
<html lang="en" style="height: 100%;" data-id="">

<head>
   <meta charset="UTF-8">
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta name="referrer" content="no-referrer" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <title>文章</title>
   <link type="image/x-icon" href="../favicon32.ico" rel="SHORTCUT ICON">
   <link rel="stylesheet" href="../css/currency.css">
   <link rel="stylesheet" href="../css/index.min.css">
   <link rel="stylesheet" href="https://uicdn.toast.com/editor/latest/toastui-editor-viewer.min.css" />
   <link rel="stylesheet"
      href="https://uicdn.toast.com/editor-plugin-code-syntax-highlight/latest/toastui-editor-plugin-code-syntax-highlight.min.css" />
   <link rel="stylesheet" href="../css/Details_page.min.css">
   <script src="../js/jquery-3.6.0.js"></script>
   <script src="../js/loginv.js"></script>
   <script src="https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js"></script>
   <!-- Editor's Plugin -->
   <script
      src="https://uicdn.toast.com/editor-plugin-code-syntax-highlight/latest/toastui-editor-plugin-code-syntax-highlight-all.min.js"></script>
   <script src="../js/Details_page.js"></script>
</head>

<body>
   <header>
      <div class="left">
         <a class="index" href="/">
            <img src="../image/头部图片.png" alt="">
         </a>
         <ul class="mune">
            <li>博客</li>
            <li>课程</li>
            <li>开发者商城</li>
            <li>问答</li>
            <li>社区</li>
            <li>插件</li>
            <li>认证</li>
            <li>开源</li>
         </ul>
      </div>
      <div class="center">
         <div class="box">
            <input type="text" placeholder="开发大神毛星云去世" class="ipaw">
            <button class="Search_button">
               <i></i>
               <span>搜索</span>
            </button>
         </div>
         <div class="">

         </div>
      </div>
      <div class="right">
         <ul class="mune">
            <li class="profile">
               <a class="login" href="/view/login">登录/注册</a>
               <a class="profile_img" href="/view/Modify_Avatar"><img class="profile_image" src="" alt=""></a>
            </li>
            <li>会员中心 </li>
            <li>收藏</li>
            <li>动态</li>
         </ul>
         <div class="cz">
            <a href="/view/Creative_space.html">
               <div class="jlimg">

               </div>
               <span>
                  创作
               </span>
               <i class="jlimg">

               </i>
            </a>
         </div>
      </div>
   </header>
   <div class="main_father clearfix">
      <div class="container" id="mainBox">
         <aside class="blog_container_aside">
            <div id="asideProfile" class="aside-box">
               <div class="profile-intro d-flex">
                  <div class="avatar-box d-flex justify-content-center flex-column">
                     <a href="">
                        <img src="../image/微信图片_20211211104851.jpg" class="_profile_img avatar_pic">
                     </a>
                  </div>
                  <div class="user-info d-flex flex-column profile-intro-name-box">
                     <div class="profile-intro-name-boxTop">
                        <a href="" class="">
                           <span class="_nickname_text">乘风飞鹤</span>
                        </a>
                        <span class="flag expert-blog">
                           <span class="bubble">CSDN认证博客专家</span>
                        </span>
                        <span class="flag company-blog">
                           <span class="bubble">CSDN认证企业博客</span>
                        </span>
                     </div>
                     <div class="profile-intro-name-boxFooter">
                        <span class="personal-home-page personal-home-years">码龄1年</span>
                        <span class="personal-home-page">
                           <a class="personal-home-certification" href="" target="_blank" title="暂无认证">
                              <img src="../image/无认证.png" alt="">
                              <span>暂无认证</span>
                           </a>
                        </span>
                     </div>
                  </div>
               </div>
               <div class="data-info d-flex item-tiling">
                  <dl class="text-center" title="8">
                     <a href="">
                        <dt>
                           <span id="original" class="count">8</span>
                        </dt>
                        <dd class="font">原创</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="125542">
                     <a href="">
                        <dt>
                           <span class="count">12万+</span>
                        </dt>
                        <dd class="font">周排名</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="122197">
                     <a href="">
                        <dt>
                           <span class="count">12万+</span>
                        </dt>
                        <dd class="font">总排名</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="3687">
                     <a href="">
                        <dt>
                           <span class="count">3687</span>
                        </dt>
                        <dd>访问</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="2级,点击查看等级说明">
                     <dt>
                        <a href="">
                           <img class="level" src="../image/等级.png">
                        </a>
                     </dt>
                     <dd>等级</dd>
                  </dl>
               </div>
               <div class="data-info d-flex item-tiling">
                  <dl class="text-center" title="112">
                     <a href="">
                        <dt>
                           <span class="count">112</span>
                        </dt>
                        <dd>积分</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="6">
                     <a href="">
                        <dt>
                           <span class="count">6</span>
                        </dt>
                        <dd>粉丝</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="15">
                     <a href="">
                        <dt>
                           <span class="count">15</span>
                        </dt>
                        <dd>获赞</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="12">
                     <a href="">
                        <dt>
                           <span class="count">12</span>
                        </dt>
                        <dd>评论</dd>
                     </a>
                  </dl>
                  <dl class="text-center" title="6">
                     <a href="">
                        <dt>
                           <span class="count">6</span>
                        </dt>
                        <dd>收藏</dd>
                     </a>
                  </dl>
               </div>
               <div class="profile-intro-name-boxOpration">
                  <div class="opt-letter-watch-box">
                     <a class="bt-button personal-letter" href="" target="_blank" rel="noopener">私信</a>
                  </div>
                  <div class="opt-letter-watch-box">
                     <a class="personal-watch bt-button" id="btnAttent">关注</a>
                  </div>
               </div>
            </div>
            <div id="asideSearchArticle" class="aside-box">
               <div class="aside-content search-comter">
                  <div class="aside-search ">
                     <input type="text" class="input-serch-blog" name="" autocomplete="off" value=""
                        id="search-blog-words" placeholder="搜博主文章">
                     <a class="btn-search-blog">
                        <img src="../image/搜博主文章png.png">
                     </a>
                  </div>
               </div>
            </div>
            <div id="asideHotArticle" class="aside-box">
               <h3 class="aside-title">热门文章</h3>
               <div class="aside-content">
                  <ul class="hotArticle-list">
                     <li>
                        <a href="" target="_blank">
                           JavaScript根据属性获取其父对象（父属性）-获取属性的父级
                           <img src="../image/天眼.png" alt="">
                           <span class="read">2221</span>
                        </a>
                     </li>
                  </ul>
               </div>
            </div>
            <div id="asideHotArticle" class="aside-box">
               <h3 class="aside-title">分类专栏</h3>
               <div class="aside-content">
                  <ul class="hotArticle-list">
                     <li>
                        <a href="" target="_blank">
                           JavaScript根据属性获取其父对象（父属性）-获取属性的父级
                           <!-- <img src="../image/天眼.png" alt="">
                                    <span class="read">2221</span> -->
                        </a>
                     </li>
                  </ul>
               </div>
            </div>
            <div id="asideHotArticle" class="aside-box">
               <h3 class="aside-title">最新评论</h3>
               <div class="aside-content">
                  <ul class="hotArticle-list">
                     <li>
                        <a href="" target="_blank">
                           JavaScript根据属性获取其父对象（父属性）-获取属性的父级
                           <!-- <img src="../image/天眼.png" alt="">
                                    <span class="read">2221</span> -->
                        </a>
                     </li>
                  </ul>
               </div>
            </div>
            <div id="asideHotArticle" class="aside-box">
               <h3 class="aside-title">最新文章</h3>
               <div class="aside-content">
                  <ul class="hotArticle-list">
                     <li>
                        <a href="" target="_blank">
                           JavaScript根据属性获取其父对象（父属性）-获取属性的父级
                           <!-- <img src="../image/天眼.png" alt="">
                                    <span class="read">2221</span> -->
                        </a>
                     </li>
                  </ul>
               </div>
            </div>

         </aside>
         <main>
            <div class="blog-content-box">
               <div class="article-header-box">
                  <div class="article-header-box">
                     <div class="article-header">
                        <div class="article-title-box">
                           <h1 class="title-article" id="articleContentId">怎么在js文件内获取引用该js的元素</h1>
                        </div>
                        <div class="article-info-box">
                           <div class="article-bar-top">
                              <img class="article-type-img" src="../image/原创.png" alt="">
                              <div class="bar-content">
                                 <a class="_nickname_text follow-nickName _nickname_text" href="javascript:; "
                                    target="_blank" rel="noopener">乘风飞鹤</a>
                                 <span id="pushdate" class="time"></span>
                                 <img class="article-read-img article-heard-img" src="../image/天眼2号.png" alt="">
                                 <span id="read" class="read-count">587</span>
                                 <a href="javascript:;" id="blog_detail_zk_collection" class="un-collection">
                                    <img class="article-collect-img article-heard-img un-collect-status isdefault"
                                       style="display:inline-block" src="../image/星星.png" alt="">
                                    <img class="article-collect-img article-heard-img collect-status isactive"
                                       style="display:none" src="" alt="">
                                    <span class="name">收藏</span>
                                    <span class="get-collection">
                                    </span>
                                 </a>
                              </div>
                           </div>
                           <div class="blog-tags-box">
                              <div class="tags-box artic-tag-box">

                              </div>
                           </div>
                           <div class="slide-content-box">
                              <div class="article-copyright">
                                 <div class="creativecommons">
                                    版权声明：本文为博主原创文章，遵循
                                    <a href="javascript:;" target="_blank" rel="noopener"> CC 4.0
                                       BY-SA</a>版权协议，转载请附上原文出处链接和本声明。
                                 </div>
                                 <div class="article-source-link">
                                    本文链接：<a href="javascript:;"
                                       target="_blank">https://blog.csdn.net/cffh_/article/details/121732695</a>
                                 </div>
                              </div>
                           </div>
                           <div class="operating">
                              <a class="href-article-edit slide-toggle">版权</a>
                           </div>
                        </div>
                     </div>
                  </div>
                  <!-- <div id="blogColumnPayAdvert">
                     <div class="column-group">
                        <div class="column-group-item column-group0 column-group-item-one">
                           <div class="item-l">
                              <a class="item-target" href="javascript:;" target="_blank" title="JavaScript">
                                 <img class="item-target" src="../image/jac9.png" alt="">
                                 <span class="title item-target">JavaScript</span>
                              </a>
                              <span class="dec">专栏收录该内容</span>
                           </div>
                           <div class="item-m">
                              <span>3 篇文章</span>
                              <span>0 订阅</span>
                           </div>
                           <div class="item-r">
                              <a class="item-target article-column-bt articleColumnFreeBt" data-id="10800552">订阅专栏</a>
                           </div>
                        </div>
                     </div>
                  </div> -->
               </div>
               <div id="viewer">

               </div>
            </div>
            <div class="more-toolbox-new">
               <div class="left-toolbox" style="position: relative; z-index: 10; left: 0px; bottom: 0px; width: 900px;">
                  <div class="toolbox-left">
                     <div class="profile-box">
                        <a class="profile-href" target="_blank" href="">
                           <img class="profile-img _profile_img" src="../image/微信图片_20211211104851.jpg">
                           <span class="profile-name _nickname_text">乘风飞鹤</span>
                        </a>
                     </div>
                     <div class="profile-attend">
                        <a class="tool-attend tool-bt-button tool-bt-attend" href="javascript:;">关注</a>
                        <a class="tool-item-follow active-animation" style="display:none;">关注</a>
                     </div>
                  </div>
                  <div class="toolbox-middle">
                     <ul class="toolbox-list">
                        <li class="tool-item tool-item-size tool-active is-like" id="is-like">
                           <a class="tool-item-href" id="isAgree">
                              <img class="isactive img_0" id="is-like-imgactive"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newHeart2021Active.png" alt="">
                              <img class="isdefault img_1" style="display:block" id="is-like-img"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newHeart2021White.png" alt="">
                              <span id="spanCount" class="count agree_count" style="color: rgb(153, 154, 170);">
                                 0
                              </span>
                           </a>
                           <div class="tool-hover-tip">
                              <span class="text space">点赞</span>
                           </div>
                        </li>
                        <li class="tool-item tool-item-size tool-active tool-item-comment">
                           <a class="tool-item-href" href="#commentBox"
                              data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7009&quot;}">
                              <img class="isdefault"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newComment2021White.png" alt="">
                              <span class="count" style="color: rgb(153, 154, 170);">
                                 0
                              </span>
                           </a>
                           <div class="tool-hover-tip"><span class="text space">评论</span></div>
                        </li>
                        <li class="tool-item tool-item-size tool-active is-collection ">
                           <a class="tool-item-href" href="javascript:;"
                              data-report-click="{&quot;mod&quot;:&quot;popu_824&quot;,&quot;spm&quot;:&quot;1001.2101.3001.4130&quot;,&quot;ab&quot;:&quot;new&quot;}">
                              <img style="display:none" id="is-collection-img-collection"
                                 class="animation-dom active-animation"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/tobarCollectionActive.png" alt="">
                              <img class="isdefault" id="is-collection-img" style="display:block"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newCollectWhite.png" alt="">
                              <img class="isactive" id="is-collection-imgactive" style="display:none"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newCollectActive.png" alt="">
                              <span class="count get-collection" id="get-collection" style="color: rgb(153, 154, 170);">
                                 0
                              </span>
                           </a>
                           <div class="tool-hover-tip"><span class="text space">收藏</span></div>
                        </li>
                        <li class="tool-item tool-active">
                           <a class="" href="javascript:;">
                              <img class="company active" id="health-companies"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newHealthCompanies1Active.gif"
                                 alt="一键三连">
                           </a>
                           <div class="tool-hover-tip three-click"><span class="text">一键三连</span></div>
                        </li>
                        <li class="tool-item tool-item-bar"></li>
                        <li class="tool-item tool-item-bar">
                        </li>
                        <li class="tool-item tool-item-size tool-active tool-QRcode" id="tool-share">
                           <a class="tool-item-href" href="javascript:;">
                              <img class="isdefault"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/newShareWhite.png" alt="">
                           </a>
                           <div class="QRcode" id="tool-QRcode" style="display: none;">
                              <p class="title">
                                 扫一扫，分享海报
                              </p>
                              <div id="shareCode">
                                 <canvas width="144" height="144" style="display: none;">
                                 </canvas>
                                 <img src="" style="display: block;">
                              </div>
                           </div>
                        </li>
                     </ul>
                     <div class="toolbox-right">
                        <div class="tool-directory">
                           <a class="bt-columnlist-show">专栏目录</a>
                        </div>
                     </div>
                  </div>
               </div>
            </div>
            <div class="comment-box comment-box-new">
               <div class="comment-title">参与评论</div>
               <div class="comment-edit-box d-flex">
                  <div class="user-img">
                     <a href="javascript:;" class="profile" target="_blank">
                        <img class="" src="https://profile.csdnimg.cn/6/0/C/3_emperor_tiange">
                     </a>
                  </div>
                  <form id="commentform">
                     <img class="comment-sofa-flag"
                        src="https://csdnimg.cn/release/blogv2/dist/pc/img/commentFlag@2x.png">
                     <textarea class="comment-content" name="comment_content" id="comment_content"
                        placeholder="请发表有价值的评论， 博客评论不欢迎灌水，良好的社区氛围需大家一起维护。" maxlength="1000"></textarea>
                     <div class="comment-operate-box active">
                        <div class="comment-operate-l">
                           <span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
                        </div>
                        <div class="comment-operate-c">
                           &nbsp;
                        </div>
                        <div class="comment-operate-r">
                           <div class="comment-operate-item comment-emoticon">
                              <img class="comment-operate-img" data-url="https://csdnimg.cn/release/blogv2/dist/pc/img/"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/commentEmotionIcon.png" alt="表情包">
                              <span class="comment-operate-tip">插入表情</span>
                              <div class="comment-emoticon-box comment-operate-isshow" style="display: none;">
                                 <div class="comment-emoticon-img-box"></div>
                              </div>
                           </div>
                           <div class="comment-operate-item comment-code">
                              <img class="comment-operate-img" data-url="https://csdnimg.cn/release/blogv2/dist/pc/img/"
                                 src="https://csdnimg.cn/release/blogv2/dist/pc/img/commentCodeIcon.png" alt="表情包">
                              <span class="comment-operate-tip">代码片</span>
                              <div class="comment-code-box comment-operate-isshow" style="display: none;">
                                 <ul id="commentCode">
                                    <li><a data-code="html">HTML/XML</a></li>
                                    <li><a data-code="objc">objective-c</a></li>
                                    <li><a data-code="ruby">Ruby</a></li>
                                    <li><a data-code="php">PHP</a></li>
                                    <li><a data-code="csharp">C</a></li>
                                    <li><a data-code="cpp">C++</a></li>
                                    <li><a data-code="javascript">JavaScript</a></li>
                                    <li><a data-code="python">Python</a></li>
                                    <li><a data-code="java">Java</a></li>
                                    <li><a data-code="css">CSS</a></li>
                                    <li><a data-code="sql">SQL</a></li>
                                    <li><a data-code="plain">其它</a></li>
                                 </ul>
                              </div>
                           </div>
                           <div class="comment-operate-item">
                              <input type="hidden" id="comment_replyId" name="comment_replyId">
                              <input type="hidden" id="article_id" name="article_id" value="121732695">
                              <input type="hidden" id="comment_userId" name="comment_userId" value="">
                              <input type="hidden" id="commentId" name="commentId" value="">
                              <a>
                                 <input type="submit" class="btn-comment btn-comment-input" value="评论">
                                 <!-- <input type="button" class="btn-comment-input btn-comment-defualt"
                                                value="评论"> -->
                              </a>
                           </div>
                        </div>
                     </div>
                  </form>
               </div>
            </div>
         </main>
      </div>
   </div>
</body>

</html>